package com.course.server.dto;

        import java.util.Date;
        import com.fasterxml.jackson.annotation.JsonFormat;

public class MemberCourseDto {

    /**
    * id
    */
    private String id;

    /**
    * 会员id
    */
    private String memberId;

    /**
    * 课程id
    */
    private String courseId;

    /**
    * 报名时间
    */
        @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date at;

    public String getId() {
    return id;
    }

    public void setId(String id) {
    this.id = id;
    }

    public String getMemberId() {
    return memberId;
    }

    public void setMemberId(String memberId) {
    this.memberId = memberId;
    }

    public String getCourseId() {
    return courseId;
    }

    public void setCourseId(String courseId) {
    this.courseId = courseId;
    }

    public Date getAt() {
    return at;
    }

    public void setAt(Date at) {
    this.at = at;
    }


@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
    sb.append(", id=").append(id);
    sb.append(", memberId=").append(memberId);
    sb.append(", courseId=").append(courseId);
    sb.append(", at=").append(at);
sb.append("]");
return sb.toString();
}

}